package com.netposa.datawarehouse.aggregator.web.vo;

import org.springframework.web.multipart.MultipartFile;

public class FeatureDetectParam {
   private MultipartFile file;
   private String position;
   private String type;
   private String sessionKey;
   private Boolean featureType = true;
   private String jlbh;
   private String imgPath;
   private String dataKey;
   private Long absTime;
   private String featureBase64;

   public MultipartFile getFile() {
      return this.file;
   }

   public String getPosition() {
      return this.position;
   }

   public String getType() {
      return this.type;
   }

   public String getSessionKey() {
      return this.sessionKey;
   }

   public Boolean getFeatureType() {
      return this.featureType;
   }

   public String getJlbh() {
      return this.jlbh;
   }

   public String getImgPath() {
      return this.imgPath;
   }

   public String getDataKey() {
      return this.dataKey;
   }

   public Long getAbsTime() {
      return this.absTime;
   }

   public String getFeatureBase64() {
      return this.featureBase64;
   }

   public void setFile(MultipartFile file) {
      this.file = file;
   }

   public void setPosition(String position) {
      this.position = position;
   }

   public void setType(String type) {
      this.type = type;
   }

   public void setSessionKey(String sessionKey) {
      this.sessionKey = sessionKey;
   }

   public void setFeatureType(Boolean featureType) {
      this.featureType = featureType;
   }

   public void setJlbh(String jlbh) {
      this.jlbh = jlbh;
   }

   public void setImgPath(String imgPath) {
      this.imgPath = imgPath;
   }

   public void setDataKey(String dataKey) {
      this.dataKey = dataKey;
   }

   public void setAbsTime(Long absTime) {
      this.absTime = absTime;
   }

   public void setFeatureBase64(String featureBase64) {
      this.featureBase64 = featureBase64;
   }

   public boolean equals(Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof FeatureDetectParam)) {
         return false;
      } else {
         FeatureDetectParam other = (FeatureDetectParam)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            Object this$file = this.getFile();
            Object other$file = other.getFile();
            if (this$file == null) {
               if (other$file != null) {
                  return false;
               }
            } else if (!this$file.equals(other$file)) {
               return false;
            }

            Object this$position = this.getPosition();
            Object other$position = other.getPosition();
            if (this$position == null) {
               if (other$position != null) {
                  return false;
               }
            } else if (!this$position.equals(other$position)) {
               return false;
            }

            Object this$type = this.getType();
            Object other$type = other.getType();
            if (this$type == null) {
               if (other$type != null) {
                  return false;
               }
            } else if (!this$type.equals(other$type)) {
               return false;
            }

            label110: {
               Object this$sessionKey = this.getSessionKey();
               Object other$sessionKey = other.getSessionKey();
               if (this$sessionKey == null) {
                  if (other$sessionKey == null) {
                     break label110;
                  }
               } else if (this$sessionKey.equals(other$sessionKey)) {
                  break label110;
               }

               return false;
            }

            label103: {
               Object this$featureType = this.getFeatureType();
               Object other$featureType = other.getFeatureType();
               if (this$featureType == null) {
                  if (other$featureType == null) {
                     break label103;
                  }
               } else if (this$featureType.equals(other$featureType)) {
                  break label103;
               }

               return false;
            }

            Object this$jlbh = this.getJlbh();
            Object other$jlbh = other.getJlbh();
            if (this$jlbh == null) {
               if (other$jlbh != null) {
                  return false;
               }
            } else if (!this$jlbh.equals(other$jlbh)) {
               return false;
            }

            label89: {
               Object this$imgPath = this.getImgPath();
               Object other$imgPath = other.getImgPath();
               if (this$imgPath == null) {
                  if (other$imgPath == null) {
                     break label89;
                  }
               } else if (this$imgPath.equals(other$imgPath)) {
                  break label89;
               }

               return false;
            }

            label82: {
               Object this$dataKey = this.getDataKey();
               Object other$dataKey = other.getDataKey();
               if (this$dataKey == null) {
                  if (other$dataKey == null) {
                     break label82;
                  }
               } else if (this$dataKey.equals(other$dataKey)) {
                  break label82;
               }

               return false;
            }

            Object this$absTime = this.getAbsTime();
            Object other$absTime = other.getAbsTime();
            if (this$absTime == null) {
               if (other$absTime != null) {
                  return false;
               }
            } else if (!this$absTime.equals(other$absTime)) {
               return false;
            }

            Object this$featureBase64 = this.getFeatureBase64();
            Object other$featureBase64 = other.getFeatureBase64();
            if (this$featureBase64 == null) {
               if (other$featureBase64 != null) {
                  return false;
               }
            } else if (!this$featureBase64.equals(other$featureBase64)) {
               return false;
            }

            return true;
         }
      }
   }

   protected boolean canEqual(Object other) {
      return other instanceof FeatureDetectParam;
   }

   public int hashCode() {
      
      int result = 1;
      Object $file = this.getFile();
      result = result * 59 + ($file == null ? 43 : $file.hashCode());
      Object $position = this.getPosition();
      result = result * 59 + ($position == null ? 43 : $position.hashCode());
      Object $type = this.getType();
      result = result * 59 + ($type == null ? 43 : $type.hashCode());
      Object $sessionKey = this.getSessionKey();
      result = result * 59 + ($sessionKey == null ? 43 : $sessionKey.hashCode());
      Object $featureType = this.getFeatureType();
      result = result * 59 + ($featureType == null ? 43 : $featureType.hashCode());
      Object $jlbh = this.getJlbh();
      result = result * 59 + ($jlbh == null ? 43 : $jlbh.hashCode());
      Object $imgPath = this.getImgPath();
      result = result * 59 + ($imgPath == null ? 43 : $imgPath.hashCode());
      Object $dataKey = this.getDataKey();
      result = result * 59 + ($dataKey == null ? 43 : $dataKey.hashCode());
      Object $absTime = this.getAbsTime();
      result = result * 59 + ($absTime == null ? 43 : $absTime.hashCode());
      Object $featureBase64 = this.getFeatureBase64();
      result = result * 59 + ($featureBase64 == null ? 43 : $featureBase64.hashCode());
      return result;
   }

   public String toString() {
      return "FeatureDetectParam(file=" + this.getFile() + ", position=" + this.getPosition() + ", type=" + this.getType() + ", sessionKey=" + this.getSessionKey() + ", featureType=" + this.getFeatureType() + ", jlbh=" + this.getJlbh() + ", imgPath=" + this.getImgPath() + ", dataKey=" + this.getDataKey() + ", absTime=" + this.getAbsTime() + ", featureBase64=" + this.getFeatureBase64() + ")";
   }
}
